package com.qf.common.canstant;

/**
 * @author KING
 * @ClassName: com.qf.common.canstant.OrderConstants
 * @Description: 该类的功能描述
 * @date: 2021/10/28 10:10
 */

public interface OrderConstants {
    /**
     * 正则校验规则
     */
    interface Regexp {
        String REGEXP_STORE_NO = "^[0-9]$";
        String REGEXP_ORDER_NO = "^[0-9]{16}$";
        String REGEXP_PHONE = "^[1][3,5,7,9]{9}$";

    }

    /**
     * 正则校验失败提示信息
     */
    interface RegexpMsg {
        String MSG_STORE_NO = "店铺ID不合法,纯数字组合";
        String MSG_ORDER_NO = "订单编号不合法,16位数字组合";
        String MSG_PHONE = "手机号不合法,11位数字";

        String MSG_STORE_N = "店铺ID不能为空";
    }

}
